package com.jia.together.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author dujiajia
 * @since 2021-02-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Member对象", description="")
public class Member implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "用户id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "会员名称")
    private String nickname;

    @ApiModelProperty(value = "会员密码")
    private String password;

    @ApiModelProperty(value = "会员头像")
    private String avatar;

    @ApiModelProperty(value = "会员性别1：男0：女")
    private Integer gender;

    @ApiModelProperty(value = "微信的唯一标识")
    private String wxId;

    @ApiModelProperty(value = "微博的唯一标识")
    private String wbId;

    @ApiModelProperty(value = "说说")
    private String motto;

    @ApiModelProperty(value = "会员等级：1普通用户")
    private Integer level;

    @ApiModelProperty(value = "逻辑删除：0未删除1删除")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

}
